WebberZone\Top_Ten\Frontend\REST_API S

Total Complexity 33
Dependencies 8
Dependents 1
Total lines 324
Lines of code 169
Logical lines of code 65
Comment lines 112
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
check_read_permission()
A
53 10 23
get_item()
S
56 5 17
get_items()
S
58 5 15
check_is_post_type_allowed()
S
65 4 9
register_routes()
S
49 1 37
update_post_count()
S
58 2 14
get_tracker_params()
S
54 1 25
prepare_item()
S
66 2 7
get_items_params()
S
60 1 14
__construct()
S
74 1 5
permissions_check()
S
79 1 3